home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windows Undocumented File Formats
/
Windows Undocumented File Formats.img
/
CHAP6
/
MAKEFILE.BOR
< prev
next >
Wrap
Text File
|
1997-07-21
|
927b
|
33 lines
############################################################
#
# Makefile for comp.c and decomp.c using the Borland compiler/linker
# Chap. 6, Undocumented Windows File Formats, published by
# R&D Books, an imprint of Miller Freeman, Inc.
#
# Copyright 1997, Mike Wallace and Pete Davis
#
# Variable requirements:
#
# 1) 'bcc' must be in your path
# 2) Change the -I argument to the
# 'include' subdirectory for your compiler
# 3) Change the -L argument to the
# 'lib' subdirectory for your compiler
#
# Compile the program with: make -fmakefile.bor
#
############################################################
PROG1 = COMP
PROG2 = DECOMP
HEADERS = DECOMP.H
all: $(PROG1).EXE $(PROG2).EXE
$(PROG1).EXE: $(PROG1).C $(HEADERS)
bcc -mm -Id:\bc45\include -Ld:\bc45\lib $(PROG1).C
$(PROG2).EXE: $(PROG2).C $(HEADERS)
bcc -mm -Id:\bc45\include -Ld:\bc45\lib $(PROG2).C